﻿--[[
   @brief    descprtion
   @author   rickonzhang
   @version  1.0
   @date     2015-06-10
--]]

friend_menu_desc = 
{
    module_name = "friend_menu",
    events = 
    {
        {
            lua_event = 
            {
                {
                    id = group_event.SHOW_FRIEND_MENU,
                    callback = "friend_menu_control.show"
                },  
                {
                    id = social_event.INVITE_LOL_KAIHIE,
                    callback = "friend_menu_control.invite_lol_kaihei"
                },  
            },
            c_event = 
            {
                {
                    id = ierd_tgp.social_network.SOCIAL_NETWORK_EVENT_GET_LOL_ROOM_INFO,
                    callback = "friend_menu_control.on_get_lol_room_info"
                },
                {
                    id = ierd_tgp.social_network.SOCIAL_NETWORK_EVENT_QUERY_LOL_ROOM_WHITE_LIST,
                    callback = "friend_menu_control.on_get_lol_room_white_list_info"
                }
            },
            lua_file = "social\\friend_menu\\control.lua"
        }
    }
}

desc_mgr.add(friend_menu_desc)